/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.translog.gui.rastreamento;

/**
 *
 * @author ThiFerreira
 */
public class FrmRastreamentoConsultar extends javax.swing.JFrame {

    /**
     * Creates new form FrmRastreamentoConsultar
     */
    public FrmRastreamentoConsultar() {
        initComponents();
        setLocationRelativeTo(null);
    }

    /**
     * This method is called from within the constructor to initialize the form. WARNING: Do NOT
     * modify this code. The content of this method is always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        lblRastreamentoEntrega = new javax.swing.JLabel();
        lblCodigoRastreioEntrega = new javax.swing.JLabel();
        lblCliente = new javax.swing.JLabel();
        lblDestinatario = new javax.swing.JLabel();
        lblStatus = new javax.swing.JLabel();
        lblDataEntradaEntrega = new javax.swing.JLabel();
        lblHoraEntradaEntrega = new javax.swing.JLabel();
        lblDataSaidaEntrega = new javax.swing.JLabel();
        lblHoraSaidaEntrega = new javax.swing.JLabel();
        txtCodigoRastreioEntrega = new javax.swing.JTextField();
        txtCliente = new javax.swing.JTextField();
        txtDestinatario = new javax.swing.JTextField();
        txtStatus = new javax.swing.JTextField();
        txtDataEntredaEntrega = new javax.swing.JTextField();
        txtHoraEntradaEntrega = new javax.swing.JTextField();
        txtDataSaidaEntrega = new javax.swing.JTextField();
        txtHoraSaidaEntrega = new javax.swing.JTextField();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("TransLog - Sistema de Entrega de Transportadora - Rastreamento de Entrega");
        setMinimumSize(new java.awt.Dimension(550, 330));
        setName("frmRastreamentoConsultar"); // NOI18N
        setResizable(false);

        lblRastreamentoEntrega.setFont(new java.awt.Font("Tahoma", 1, 15)); // NOI18N
        lblRastreamentoEntrega.setText("Rastreamento de Entrega");

        lblCodigoRastreioEntrega.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        lblCodigoRastreioEntrega.setText("Código Rastreio Entrega");

        lblCliente.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        lblCliente.setText("Cliente");

        lblDestinatario.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        lblDestinatario.setText("Destinatário");

        lblStatus.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        lblStatus.setText("Status");

        lblDataEntradaEntrega.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        lblDataEntradaEntrega.setText("Data Entrada Entrega");

        lblHoraEntradaEntrega.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        lblHoraEntradaEntrega.setText("Hora Entrada Entrega");

        lblDataSaidaEntrega.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        lblDataSaidaEntrega.setText("Data Saída Entrega");

        lblHoraSaidaEntrega.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        lblHoraSaidaEntrega.setText("Hora Saída Entrega");

        txtDestinatario.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtDestinatarioActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(lblCodigoRastreioEntrega)
                            .addComponent(lblCliente)
                            .addComponent(lblDestinatario)
                            .addComponent(lblStatus))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(txtStatus, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(txtCodigoRastreioEntrega, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(txtDestinatario, javax.swing.GroupLayout.DEFAULT_SIZE, 333, Short.MAX_VALUE)
                            .addComponent(txtCliente)))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(170, 170, 170)
                        .addComponent(lblRastreamentoEntrega))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(lblDataEntradaEntrega)
                                .addGap(18, 18, 18)
                                .addComponent(txtDataEntredaEntrega, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(lblHoraEntradaEntrega)
                                .addGap(18, 18, 18)
                                .addComponent(txtHoraEntradaEntrega, javax.swing.GroupLayout.PREFERRED_SIZE, 149, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(lblHoraSaidaEntrega)
                                .addGap(18, 18, 18)
                                .addComponent(txtHoraSaidaEntrega))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(lblDataSaidaEntrega)
                                .addGap(18, 18, 18)
                                .addComponent(txtDataSaidaEntrega, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                .addContainerGap(33, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lblRastreamentoEntrega)
                .addGap(21, 21, 21)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblCodigoRastreioEntrega)
                    .addComponent(txtCodigoRastreioEntrega, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblCliente)
                    .addComponent(txtCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblDestinatario)
                    .addComponent(txtDestinatario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblStatus)
                    .addComponent(txtStatus, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(32, 32, 32)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblDataEntradaEntrega)
                    .addComponent(txtDataEntredaEntrega, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblDataSaidaEntrega)
                    .addComponent(txtDataSaidaEntrega, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblHoraEntradaEntrega)
                    .addComponent(txtHoraEntradaEntrega, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblHoraSaidaEntrega)
                    .addComponent(txtHoraSaidaEntrega, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(55, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void txtDestinatarioActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtDestinatarioActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtDestinatarioActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(FrmRastreamentoConsultar.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(FrmRastreamentoConsultar.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(FrmRastreamentoConsultar.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(FrmRastreamentoConsultar.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new FrmRastreamentoConsultar().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel lblCliente;
    private javax.swing.JLabel lblCodigoRastreioEntrega;
    private javax.swing.JLabel lblDataEntradaEntrega;
    private javax.swing.JLabel lblDataSaidaEntrega;
    private javax.swing.JLabel lblDestinatario;
    private javax.swing.JLabel lblHoraEntradaEntrega;
    private javax.swing.JLabel lblHoraSaidaEntrega;
    private javax.swing.JLabel lblRastreamentoEntrega;
    private javax.swing.JLabel lblStatus;
    private javax.swing.JTextField txtCliente;
    private javax.swing.JTextField txtCodigoRastreioEntrega;
    private javax.swing.JTextField txtDataEntredaEntrega;
    private javax.swing.JTextField txtDataSaidaEntrega;
    private javax.swing.JTextField txtDestinatario;
    private javax.swing.JTextField txtHoraEntradaEntrega;
    private javax.swing.JTextField txtHoraSaidaEntrega;
    private javax.swing.JTextField txtStatus;
    // End of variables declaration//GEN-END:variables
}
